//
//  AuctionCollectionHeaderView.h
//  MyNewProject
//
//  Created by 王春辉 on 2019/12/22.
//  Copyright © 2019年 sun. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AuctionNewUserEnjoyView.h"
NS_ASSUME_NONNULL_BEGIN
@class AuctionCollectionHeaderBtnsView;
@class AuctionHomeShopModel;
typedef void (^AuctionCollectionHeaderViewBannerClickBlock)(NSInteger index);
typedef void (^AuctionCollectionHeaderViewDetermineDetailClickBlock)(void);
typedef void (^AuctionCollectionHeaderViewBtnsClickBlock)(NSInteger index);
typedef void (^AuctionCollectionHeaderViewCouponButtonClickBlock)(void);
typedef void (^AuctionCollectionHeaderViewRecommendMoreButtonClickBlock)(void);
typedef void (^AuctionCollectionHeaderViewRecommendSelectItemAtIndexPathBlock)(NSIndexPath *indexPath);
@interface AuctionCollectionHeaderView : UIView

/**
 四个按钮
 */
@property (nonatomic, readonly, strong) AuctionCollectionHeaderBtnsView *headerBtnsView;

/**
 新人优惠券view
 */
//@property (nonatomic, readonly, strong) AuctionNewUserEnjoyView *couponView;

/**
 banner轮播图片
 */
@property (nonatomic, strong) NSArray <NSString *>*bannerImageNames;

/**
 轮播数据
 */
@property (nonatomic, strong) NSArray <AuctionHomeShopModel *>*recommendDatas;

/**
 商家推荐数据
 */
@property (nonatomic, strong, readonly) NSArray <NSArray <AuctionHomeShopModel *>*>*recommandCellData;
/**
 轮播banner点击事件回调

 @param block block
 */
- (void)bannerClickBlock:(AuctionCollectionHeaderViewBannerClickBlock)block;

/**
 鉴宝详情按钮点击事件回调

 @param block block
 */
- (void)determineDetailClickBlock:(AuctionCollectionHeaderViewDetermineDetailClickBlock)block;

/**
 那四个按钮点击事件回调

 @param block block
 */
- (void)headerButtonsClickBlock:(AuctionCollectionHeaderViewBtnsClickBlock)block;

/**
 优惠券点击事件回调

 @param block block
 */
- (void)couponsButtonClickBlock:(AuctionCollectionHeaderViewCouponButtonClickBlock)block;

/// 优惠券点击商品
/// @param block block
- (void)couponsProductButtonClickBlock:(void(^)(NSInteger))block;

/**
 商家推荐更多按钮点击回调

 @param block block
 */
- (void)recommendMoreButtonClickBlock:(AuctionCollectionHeaderViewRecommendMoreButtonClickBlock)block;

/**
 商家推荐cell点击事件回调

 @param block block
 */
-(void)recommendSelectAtItemIndexPathBlock:(AuctionCollectionHeaderViewRecommendSelectItemAtIndexPathBlock)block;
@end

NS_ASSUME_NONNULL_END
